<h1>{{title}}</h1>

<table border="1">
  <tr>
    <th>Id</th>
    <th>用户名</th>
    <th>电子邮箱</th>
    <th></th>
    <th></th>
  </tr>
  <tr *ngFor="let user of users">
    <td>{{user.id}}</td>
    <td>{{user.username}}</td>
    <td>{{user.email}}</td>
    <td>
      <button type="button" (click)="loadUserToEdit(user.id)">编辑</button>
    </td>
    <td>
      <button type="button" (click)="deleteUser(user.id)">删除</button>
    </td>
  </tr>
</table>
